package com.camelot.ccr.system.persistence;
// default package

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;


/**
 * SponsorTeam entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="t_sponsor_team")

public class SponsorTeam  implements java.io.Serializable {


    // Fields    

     /**
	 * 
	 */
	private static final long serialVersionUID = -8867534630180053659L;
	private String id;
     private String sponsorId;
     private String teamId;


    // Constructors

    /** default constructor */
    public SponsorTeam() {
    }

    
    /** full constructor */
    public SponsorTeam(String sponsorId, String teamId) {
        this.sponsorId = sponsorId;
        this.teamId = teamId;
    }

   
    // Property accessors
    @GenericGenerator(name="generator", strategy="uuid.hex")@Id @GeneratedValue(generator="generator")
    
    @Column(name="id", unique=true, nullable=false, length=50)

    public String getId() {
        return this.id;
    }
    
    public void setId(String id) {
        this.id = id;
    }
    
    @Column(name="sponsor_id", length=50)

    public String getSponsorId() {
        return this.sponsorId;
    }
    
    public void setSponsorId(String sponsorId) {
        this.sponsorId = sponsorId;
    }
    
    @Column(name="team_id", length=50)

    public String getTeamId() {
        return this.teamId;
    }
    
    public void setTeamId(String teamId) {
        this.teamId = teamId;
    }
   








}